import clr
import System
import sys
clr.AddReference('System.ServiceModel')
from System.ServiceModel import ServiceContractAttribute, OperationContractAttribute
from ClrWrapper import ClrAttribute, ClrAccepts, ClrReturns

class WcfServer(object):
	clr_namespace = 'Python.Wcf'
	clr_attributes = [
		(ServiceContractAttribute, )
	]
	
	@ClrAttribute(OperationContractAttribute)
	@ClrReturns(System.String)
	def HelloWorld(self):
		return 'Hello world!'
